package com.j2203.service;

import com.j2203.entity.GmUser;
import com.j2203.vo.ResultMsg;

public interface UserService {
    //    根据id单查
    ResultMsg findOneById(int uid);
    //    根据mail单查
    ResultMsg findOneByMail(String mail);
    //    修改/新增
    ResultMsg upDateOne(GmUser gmUser);
//    登录
    ResultMsg findOneByMailAndPwd(String email,String password);
}
